package lazysingleton;

public class LazySingleton {

    private static LazySingleton instance;

    private LazySingleton(){}

    public synchronized LazySingleton getInstance() {
        if(instance == null) {
            instance = new LazySingleton();
        }

        return instance;
    }
}
